home *** CD-ROM | disk | FTP | other *** search
/ Dark Sector - Press Kit (USA) / Dark Sector - Press Kit (USA).iso / pc / main.swf / scripts / frame_1 / DoAction.as
Text File  |  2007-03-14  |  68KB  |  1,552 lines

  1. Stage.scaleMode = "noScale";
  2. _global.$createTweenController = function()
  3. {
  4.    var _loc3_ = _root.createEmptyMovieClip("__tweenController__",123432);
  5.    _loc3_.$_tweenPropList = new Array();
  6.    _loc3_.$_tTime = getTimer();
  7.    _loc3_.onEnterFrame = _global.$updateTweens;
  8. };
  9. ASSetPropFlags(_global,"$createTweenController",1,0);
  10. _global.$removeTweenController = function()
  11. {
  12.    delete _root.__tweenController__.$_tweenPropList;
  13.    delete _root.__tweenController__.$_tTime;
  14.    delete _root.__tweenController__.onEnterFrame;
  15.    _root.__tweenController__.removeMovieClip();
  16. };
  17. ASSetPropFlags(_global,"$removeTweenController",1,0);
  18. _global.$addTween = function(mtarget, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, extras)
  19. {
  20.    if(timeSeconds == undefined)
  21.    {
  22.       timeSeconds = 0;
  23.    }
  24.    if(animType == undefined || animType == "")
  25.    {
  26.       animType = "easeOutExpo";
  27.    }
  28.    if(delay == undefined)
  29.    {
  30.       delay = 0;
  31.    }
  32.    if(typeof prop == "string")
  33.    {
  34.       var _loc7_ = [prop];
  35.       var _loc11_ = [mtarget[prop]];
  36.       var _loc9_ = [propDest];
  37.    }
  38.    else
  39.    {
  40.       _loc7_ = [];
  41.       _loc11_ = [];
  42.       _loc9_ = [];
  43.       for(var _loc32_ in prop)
  44.       {
  45.          _loc11_.push(mtarget[prop[_loc32_]]);
  46.       }
  47.       for(_loc32_ in prop)
  48.       {
  49.          _loc7_.push(prop[_loc32_]);
  50.       }
  51.       for(_loc32_ in propDest)
  52.       {
  53.          _loc9_.push(propDest[_loc32_]);
  54.       }
  55.    }
  56.    var _loc12_ = false;
  57.    if(_root.__tweenController__ == undefined)
  58.    {
  59.       _global.$createTweenController();
  60.    }
  61.    var _loc4_ = _root.__tweenController__.$_tweenPropList;
  62.    var _loc8_ = _root.__tweenController__.$_tTime;
  63.    for(_loc32_ in _loc11_)
  64.    {
  65.       if(_loc9_[_loc32_] != undefined && !mtarget.$_isTweenLocked)
  66.       {
  67.          if(mtarget.$_tweenCount > 0)
  68.          {
  69.             var _loc3_ = 0;
  70.             while(_loc3_ < _loc4_.length)
  71.             {
  72.                if(_loc4_[_loc3_]._targ == mtarget && _loc4_[_loc3_]._prop == _loc7_[_loc32_])
  73.                {
  74.                   if(_loc8_ + delay * 1000 < _loc4_[_loc3_]._timeDest)
  75.                   {
  76.                      _loc4_.splice(_loc3_,1);
  77.                      _loc3_ = _loc3_ - 1;
  78.                      mtarget.$_tweenCount = mtarget.$_tweenCount - 1;
  79.                   }
  80.                }
  81.                _loc3_ = _loc3_ + 1;
  82.             }
  83.          }
  84.          _loc4_.push({_prop:_loc7_[_loc32_],_targ:mtarget,_propStart:undefined,_propDest:_loc9_[_loc32_],_timeStart:_loc8_,_timeDest:_loc8_ + timeSeconds * 1000,_animType:animType,_extra1:extra1,_extra2:extra2,_extras:extras,_delay:delay,_isPaused:false,_timePaused:0,_callback:(!_loc12_ ? callback : undefined)});
  85.          mtarget.$_tweenCount = mtarget.$_tweenCount <= 0 ? 1 : mtarget.$_tweenCount + 1;
  86.          _loc12_ = true;
  87.       }
  88.    }
  89.    ASSetPropFlags(mtarget,"$_tweenCount",1,0);
  90. };
  91. ASSetPropFlags(_global,"$addTween",1,0);
  92. _global.$updateTweens = function()
  93. {
  94.    var _loc0_ = null;
  95.    var _loc8_ = this.$_tTime = getTimer();
  96.    var _loc6_ = 0;
  97.    while(_loc6_ < this.$_tweenPropList.length)
  98.    {
  99.       var _loc3_ = this.$_tweenPropList[_loc6_];
  100.       if(_loc3_._targ.toString() == undefined)
  101.       {
  102.          this.$_tweenPropList.splice(_loc6_,1);
  103.          _loc6_ = _loc6_ - 1;
  104.       }
  105.       else if(_loc3_._timeStart + _loc3_._delay * 1000 <= _loc8_ && !_loc3_._isPaused)
  106.       {
  107.          if(_loc3_._propStart == undefined)
  108.          {
  109.             if(_loc3_._prop.substr(0,10) == "__special_")
  110.             {
  111.                if(_loc3_._prop == "__special_mc_frame__")
  112.                {
  113.                   _loc3_._propStart = _loc3_._targ._currentframe;
  114.                }
  115.                else if(_loc3_._prop == "__special_mc_ra__")
  116.                {
  117.                   _loc3_._propStart = new Color(_loc3_._targ).getTransform().ra;
  118.                }
  119.                else if(_loc3_._prop == "__special_mc_rb__")
  120.                {
  121.                   _loc3_._propStart = new Color(_loc3_._targ).getTransform().rb;
  122.                }
  123.                else if(_loc3_._prop == "__special_mc_ga__")
  124.                {
  125.                   _loc3_._propStart = new Color(_loc3_._targ).getTransform().ga;
  126.                }
  127.                else if(_loc3_._prop == "__special_mc_gb__")
  128.                {
  129.                   _loc3_._propStart = new Color(_loc3_._targ).getTransform().gb;
  130.                }
  131.                else if(_loc3_._prop == "__special_mc_ba__")
  132.                {
  133.                   _loc3_._propStart = new Color(_loc3_._targ).getTransform().ba;
  134.                }
  135.                else if(_loc3_._prop == "__special_mc_bb__")
  136.                {
  137.                   _loc3_._propStart = new Color(_loc3_._targ).getTransform().bb;
  138.                }
  139.                else if(_loc3_._prop == "__special_mc_aa__")
  140.                {
  141.                   _loc3_._propStart = new Color(_loc3_._targ).getTransform().aa;
  142.                }
  143.                else if(_loc3_._prop == "__special_mc_ab__")
  144.                {
  145.                   _loc3_._propStart = new Color(_loc3_._targ).getTransform().ab;
  146.                }
  147.                else if(_loc3_._prop == "__special_text_r__")
  148.                {
  149.                   _loc3_._propStart = _loc3_._targ.textColor >> 16;
  150.                }
  151.                else if(_loc3_._prop == "__special_text_g__")
  152.                {
  153.                   _loc3_._propStart = (_loc3_._targ.textColor & 65280) >> 8;
  154.                }
  155.                else if(_loc3_._prop == "__special_text_b__")
  156.                {
  157.                   _loc3_._propStart = _loc3_._targ.textColor & 255;
  158.                }
  159.                else if(_loc3_._prop == "__special_sound_volume__")
  160.                {
  161.                   _loc3_._propStart = _loc3_._targ.getVolume();
  162.                }
  163.                else if(_loc3_._prop == "__special_sound_pan__")
  164.                {
  165.                   _loc3_._propStart = _loc3_._targ.getPan();
  166.                }
  167.                else if(_loc3_._prop == "__special_bst_t__")
  168.                {
  169.                   _loc3_._propStart = 0;
  170.                   _loc3_._extras.__special_bst_ix__ = _loc3_._targ._x;
  171.                   _loc3_._extras.__special_bst_iy__ = _loc3_._targ._y;
  172.                }
  173.                else if(_loc3_._prop == "__special_blur_x__")
  174.                {
  175.                   var _loc5_ = 0;
  176.                   while(_loc5_ < _loc3_._targ.filters.length)
  177.                   {
  178.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.BlurFilter)
  179.                      {
  180.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].blurX;
  181.                      }
  182.                      _loc5_ = _loc5_ + 1;
  183.                   }
  184.                   if(_loc3_._propStart == undefined)
  185.                   {
  186.                      _loc3_._propStart = 0;
  187.                   }
  188.                }
  189.                else if(_loc3_._prop == "__special_blur_y__")
  190.                {
  191.                   _loc5_ = 0;
  192.                   while(_loc5_ < _loc3_._targ.filters.length)
  193.                   {
  194.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.BlurFilter)
  195.                      {
  196.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].blurY;
  197.                      }
  198.                      _loc5_ = _loc5_ + 1;
  199.                   }
  200.                   if(_loc3_._propStart == undefined)
  201.                   {
  202.                      _loc3_._propStart = 0;
  203.                   }
  204.                }
  205.                else if(_loc3_._prop == "__special_glow_color__")
  206.                {
  207.                   _loc5_ = 0;
  208.                   while(_loc5_ < _loc3_._targ.filters.length)
  209.                   {
  210.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.GlowFilter)
  211.                      {
  212.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].color;
  213.                      }
  214.                      _loc5_ = _loc5_ + 1;
  215.                   }
  216.                   if(_loc3_._propStart == undefined)
  217.                   {
  218.                      _loc3_._propStart = 16777215;
  219.                   }
  220.                }
  221.                else if(_loc3_._prop == "__special_glow_alpha__")
  222.                {
  223.                   _loc5_ = 0;
  224.                   while(_loc5_ < _loc3_._targ.filters.length)
  225.                   {
  226.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.GlowFilter)
  227.                      {
  228.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].alpha;
  229.                      }
  230.                      _loc5_ = _loc5_ + 1;
  231.                   }
  232.                   if(_loc3_._propStart == undefined)
  233.                   {
  234.                      _loc3_._propStart = 1;
  235.                   }
  236.                }
  237.                else if(_loc3_._prop == "__special_glow_blurX__")
  238.                {
  239.                   _loc5_ = 0;
  240.                   while(_loc5_ < _loc3_._targ.filters.length)
  241.                   {
  242.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.GlowFilter)
  243.                      {
  244.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].blurX;
  245.                      }
  246.                      _loc5_ = _loc5_ + 1;
  247.                   }
  248.                   if(_loc3_._propStart == undefined)
  249.                   {
  250.                      _loc3_._propStart = 0;
  251.                   }
  252.                }
  253.                else if(_loc3_._prop == "__special_glow_blurY__")
  254.                {
  255.                   _loc5_ = 0;
  256.                   while(_loc5_ < _loc3_._targ.filters.length)
  257.                   {
  258.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.GlowFilter)
  259.                      {
  260.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].blurY;
  261.                      }
  262.                      _loc5_ = _loc5_ + 1;
  263.                   }
  264.                   if(_loc3_._propStart == undefined)
  265.                   {
  266.                      _loc3_._propStart = 0;
  267.                   }
  268.                }
  269.                else if(_loc3_._prop == "__special_glow_strength__")
  270.                {
  271.                   _loc5_ = 0;
  272.                   while(_loc5_ < _loc3_._targ.filters.length)
  273.                   {
  274.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.GlowFilter)
  275.                      {
  276.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].strength;
  277.                      }
  278.                      _loc5_ = _loc5_ + 1;
  279.                   }
  280.                   if(_loc3_._propStart == undefined)
  281.                   {
  282.                      _loc3_._propStart = 1;
  283.                   }
  284.                }
  285.                else if(_loc3_._prop == "__special_bevel_distance__")
  286.                {
  287.                   _loc5_ = 0;
  288.                   while(_loc5_ < _loc3_._targ.filters.length)
  289.                   {
  290.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.BevelFilter)
  291.                      {
  292.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].distance;
  293.                      }
  294.                      _loc5_ = _loc5_ + 1;
  295.                   }
  296.                   if(_loc3_._propStart == undefined)
  297.                   {
  298.                      _loc3_._propStart = 0;
  299.                   }
  300.                }
  301.                else if(_loc3_._prop == "__special_bevel_angle__")
  302.                {
  303.                   _loc5_ = 0;
  304.                   while(_loc5_ < _loc3_._targ.filters.length)
  305.                   {
  306.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.BevelFilter)
  307.                      {
  308.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].angle;
  309.                      }
  310.                      _loc5_ = _loc5_ + 1;
  311.                   }
  312.                   if(_loc3_._propStart == undefined)
  313.                   {
  314.                      _loc3_._propStart = 45;
  315.                   }
  316.                }
  317.                else if(_loc3_._prop == "__special_bevel_highlightColor__")
  318.                {
  319.                   _loc5_ = 0;
  320.                   while(_loc5_ < _loc3_._targ.filters.length)
  321.                   {
  322.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.BevelFilter)
  323.                      {
  324.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].highlightColor;
  325.                      }
  326.                      _loc5_ = _loc5_ + 1;
  327.                   }
  328.                   if(_loc3_._propStart == undefined)
  329.                   {
  330.                      _loc3_._propStart = 16777215;
  331.                   }
  332.                }
  333.                else if(_loc3_._prop == "__special_bevel_highlightAlpha__")
  334.                {
  335.                   _loc5_ = 0;
  336.                   while(_loc5_ < _loc3_._targ.filters.length)
  337.                   {
  338.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.BevelFilter)
  339.                      {
  340.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].highlightAlpha;
  341.                      }
  342.                      _loc5_ = _loc5_ + 1;
  343.                   }
  344.                   if(_loc3_._propStart == undefined)
  345.                   {
  346.                      _loc3_._propStart = 1;
  347.                   }
  348.                }
  349.                else if(_loc3_._prop == "__special_bevel_shadowColor__")
  350.                {
  351.                   _loc5_ = 0;
  352.                   while(_loc5_ < _loc3_._targ.filters.length)
  353.                   {
  354.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.BevelFilter)
  355.                      {
  356.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].shadowColor;
  357.                      }
  358.                      _loc5_ = _loc5_ + 1;
  359.                   }
  360.                   if(_loc3_._propStart == undefined)
  361.                   {
  362.                      _loc3_._propStart = 0;
  363.                   }
  364.                }
  365.                else if(_loc3_._prop == "__special_bevel_shadowAlpha__")
  366.                {
  367.                   _loc5_ = 0;
  368.                   while(_loc5_ < _loc3_._targ.filters.length)
  369.                   {
  370.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.BevelFilter)
  371.                      {
  372.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].shadowAlpha;
  373.                      }
  374.                      _loc5_ = _loc5_ + 1;
  375.                   }
  376.                   if(_loc3_._propStart == undefined)
  377.                   {
  378.                      _loc3_._propStart = 1;
  379.                   }
  380.                }
  381.                else if(_loc3_._prop == "__special_bevel_blurX__")
  382.                {
  383.                   _loc5_ = 0;
  384.                   while(_loc5_ < _loc3_._targ.filters.length)
  385.                   {
  386.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.BevelFilter)
  387.                      {
  388.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].blurX;
  389.                      }
  390.                      _loc5_ = _loc5_ + 1;
  391.                   }
  392.                   if(_loc3_._propStart == undefined)
  393.                   {
  394.                      _loc3_._propStart = 0;
  395.                   }
  396.                }
  397.                else if(_loc3_._prop == "__special_bevel_blurY__")
  398.                {
  399.                   _loc5_ = 0;
  400.                   while(_loc5_ < _loc3_._targ.filters.length)
  401.                   {
  402.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.BevelFilter)
  403.                      {
  404.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].blurY;
  405.                      }
  406.                      _loc5_ = _loc5_ + 1;
  407.                   }
  408.                   if(_loc3_._propStart == undefined)
  409.                   {
  410.                      _loc3_._propStart = 0;
  411.                   }
  412.                }
  413.                else if(_loc3_._prop == "__special_bevel_strength__")
  414.                {
  415.                   _loc5_ = 0;
  416.                   while(_loc5_ < _loc3_._targ.filters.length)
  417.                   {
  418.                      if(_loc3_._targ.filters[_loc5_] instanceof flash.filters.BevelFilter)
  419.                      {
  420.                         _loc3_._propStart = _loc3_._targ.filters[_loc5_].strength;
  421.                      }
  422.                      _loc5_ = _loc5_ + 1;
  423.                   }
  424.                   if(_loc3_._propStart == undefined)
  425.                   {
  426.                      _loc3_._propStart = 1;
  427.                   }
  428.                }
  429.                else
  430.                {
  431.                   _loc3_._propStart = _loc3_._targ[_loc3_._prop];
  432.                }
  433.             }
  434.             else
  435.             {
  436.                _loc3_._propStart = _loc3_._targ[_loc3_._prop];
  437.             }
  438.          }
  439.          var _loc10_ = _loc3_._timeDest + _loc3_._delay * 1000;
  440.          if(_loc10_ <= _loc8_)
  441.          {
  442.             var _loc4_ = _loc3_._propDest;
  443.          }
  444.          else
  445.          {
  446.             _loc4_ = _global.findTweenValue(_loc3_._propStart,_loc3_._propDest,_loc3_._timeStart,_loc8_ - _loc3_._delay * 1000,_loc3_._timeDest,_loc3_._animType,_loc3_._extra1,_loc3_._extra2);
  447.          }
  448.          _loc3_._targ[_loc3_._prop] = !_loc3_._extras.mustRound ? _loc4_ : Math.round(_loc4_);
  449.          if(_loc3_._prop == "__special_mc_frame__")
  450.          {
  451.             _loc3_._targ.gotoAndStop(Math.round(_loc4_));
  452.          }
  453.          else if(_loc3_._prop == "__special_mc_ra__")
  454.          {
  455.             new Color(_loc3_._targ).setTransform({ra:_loc4_});
  456.          }
  457.          else if(_loc3_._prop == "__special_mc_rb__")
  458.          {
  459.             new Color(_loc3_._targ).setTransform({rb:_loc4_});
  460.          }
  461.          else if(_loc3_._prop == "__special_mc_ga__")
  462.          {
  463.             new Color(_loc3_._targ).setTransform({ga:_loc4_});
  464.          }
  465.          else if(_loc3_._prop == "__special_mc_gb__")
  466.          {
  467.             new Color(_loc3_._targ).setTransform({gb:_loc4_});
  468.          }
  469.          else if(_loc3_._prop == "__special_mc_ba__")
  470.          {
  471.             new Color(_loc3_._targ).setTransform({ba:_loc4_});
  472.          }
  473.          else if(_loc3_._prop == "__special_mc_bb__")
  474.          {
  475.             new Color(_loc3_._targ).setTransform({bb:_loc4_});
  476.          }
  477.          else if(_loc3_._prop == "__special_mc_aa__")
  478.          {
  479.             new Color(_loc3_._targ).setTransform({aa:_loc4_});
  480.          }
  481.          else if(_loc3_._prop == "__special_mc_ab__")
  482.          {
  483.             new Color(_loc3_._targ).setTransform({ab:_loc4_});
  484.          }
  485.          if(_loc3_._prop == "__special_bst_t__")
  486.          {
  487.             var _loc7_ = _loc3_._extras;
  488.             var _loc9_ = _global.findPointOnCurve(_loc7_.__special_bst_ix__,_loc7_.__special_bst_iy__,_loc7_.__special_bst_cx__,_loc7_.__special_bst_cy__,_loc7_.__special_bst_dx__,_loc7_.__special_bst_dy__,_loc4_);
  489.             if(_loc3_._extras.mustRound)
  490.             {
  491.                _loc3_._targ._x = Math.round(_loc9_.x);
  492.                _loc3_._targ._y = Math.round(_loc9_.y);
  493.             }
  494.             else
  495.             {
  496.                _loc3_._targ._x = _loc9_.x;
  497.                _loc3_._targ._y = _loc9_.y;
  498.             }
  499.          }
  500.          if(typeof _loc3_._targ != "movieclip" && _loc3_._prop == "__special_text_b__")
  501.          {
  502.             _loc3_._targ.textColor = (_loc3_._targ.__special_text_r__ << 16) + (_loc3_._targ.__special_text_g__ << 8) + _loc3_._targ.__special_text_b__;
  503.          }
  504.          if(_loc3_._prop == "__special_sound_volume__")
  505.          {
  506.             _loc3_._targ.setVolume(_loc4_);
  507.          }
  508.          if(_loc3_._prop == "__special_sound_pan__")
  509.          {
  510.             _loc3_._targ.setPan(_loc4_);
  511.          }
  512.          if(_loc3_._prop == "__special_blur_x__")
  513.          {
  514.             _global.$setFilterProperty(_loc3_._targ,"blur_blurX",_loc4_,_loc3_._extras);
  515.          }
  516.          if(_loc3_._prop == "__special_blur_y__")
  517.          {
  518.             _global.$setFilterProperty(_loc3_._targ,"blur_blurY",_loc4_,_loc3_._extras);
  519.          }
  520.          if(_loc3_._prop == "__special_glow_color__")
  521.          {
  522.             _global.$setFilterProperty(_loc3_._targ,"glow_color",_global.findTweenColor(_loc3_,_loc8_),_loc3_._extras);
  523.          }
  524.          if(_loc3_._prop == "__special_glow_alpha__")
  525.          {
  526.             _global.$setFilterProperty(_loc3_._targ,"glow_alpha",_loc4_,_loc3_._extras);
  527.          }
  528.          if(_loc3_._prop == "__special_glow_blurX__")
  529.          {
  530.             _global.$setFilterProperty(_loc3_._targ,"glow_blurX",_loc4_,_loc3_._extras);
  531.          }
  532.          if(_loc3_._prop == "__special_glow_blurY__")
  533.          {
  534.             _global.$setFilterProperty(_loc3_._targ,"glow_blurY",_loc4_,_loc3_._extras);
  535.          }
  536.          if(_loc3_._prop == "__special_glow_strength__")
  537.          {
  538.             _global.$setFilterProperty(_loc3_._targ,"glow_strength",_loc4_,_loc3_._extras);
  539.          }
  540.          if(_loc3_._prop == "__special_bevel_distance__")
  541.          {
  542.             _global.$setFilterProperty(_loc3_._targ,"bevel_distance",_loc4_,_loc3_._extras);
  543.          }
  544.          if(_loc3_._prop == "__special_bevel_angle__")
  545.          {
  546.             _global.$setFilterProperty(_loc3_._targ,"bevel_angle",_loc4_,_loc3_._extras);
  547.          }
  548.          if(_loc3_._prop == "__special_bevel_highlightColor__")
  549.          {
  550.             _global.$setFilterProperty(_loc3_._targ,"bevel_highlightColor",_global.findTweenColor(_loc3_,_loc8_),_loc3_._extras);
  551.          }
  552.          if(_loc3_._prop == "__special_bevel_highlightAlpha__")
  553.          {
  554.             _global.$setFilterProperty(_loc3_._targ,"bevel_highlightAlpha",_loc4_,_loc3_._extras);
  555.          }
  556.          if(_loc3_._prop == "__special_bevel_shadowColor__")
  557.          {
  558.             _global.$setFilterProperty(_loc3_._targ,"bevel_shadowColor",_global.findTweenColor(_loc3_,_loc8_),_loc3_._extras);
  559.          }
  560.          if(_loc3_._prop == "__special_bevel_shadowAlpha__")
  561.          {
  562.             _global.$setFilterProperty(_loc3_._targ,"bevel_shadowAlpha",_loc4_,_loc3_._extras);
  563.          }
  564.          if(_loc3_._prop == "__special_bevel_blurX__")
  565.          {
  566.             _global.$setFilterProperty(_loc3_._targ,"bevel_blurX",_loc4_,_loc3_._extras);
  567.          }
  568.          if(_loc3_._prop == "__special_bevel_blurY__")
  569.          {
  570.             _global.$setFilterProperty(_loc3_._targ,"bevel_blurY",_loc4_,_loc3_._extras);
  571.          }
  572.          if(_loc3_._prop == "__special_bevel_strength__")
  573.          {
  574.             _global.$setFilterProperty(_loc3_._targ,"bevel_strength",_loc4_,_loc3_._extras);
  575.          }
  576.          if(_loc3_._targ.onTweenUpdate != undefined)
  577.          {
  578.             _loc3_._targ.onTweenUpdate(_loc3_._prop);
  579.          }
  580.          if(_loc10_ <= _loc8_)
  581.          {
  582.             if(_loc3_._targ.onTweenComplete != undefined)
  583.             {
  584.                _loc3_._targ.onTweenComplete(_loc3_._prop);
  585.             }
  586.             _global.$stopTween(_loc3_._targ,[_loc3_._prop],false);
  587.             _loc6_ = _loc6_ - 1;
  588.             if(_loc3_._callback != undefined)
  589.             {
  590.                if(_global.backwardCallbackTweening)
  591.                {
  592.                   var _loc11_ = _loc3_._targ.createEmptyMovieClip("__child__",122344);
  593.                   _loc3_._callback.apply(_loc11_,null);
  594.                   _loc11_.removeMovieClip();
  595.                }
  596.                else
  597.                {
  598.                   _loc3_._callback.apply(_loc3_._targ,null);
  599.                }
  600.             }
  601.          }
  602.       }
  603.       _loc6_ = _loc6_ + 1;
  604.    }
  605.    if(this.$_tweenPropList.length == 0)
  606.    {
  607.       _global.$removeTweenController();
  608.    }
  609. };
  610. ASSetPropFlags(_global,"$updateTween",1,0);
  611. _global.$stopTween = function(mtarget, props, wipeFuture)
  612. {
  613.    var _loc4_ = _root.__tweenController__.$_tweenPropList;
  614.    var _loc7_ = undefined;
  615.    for(var _loc9_ in _loc4_)
  616.    {
  617.       _loc7_ = _loc4_[_loc9_]._prop;
  618.       var _loc5_ = 0;
  619.       while(_loc5_ < props.length || _loc5_ < 1 && props == undefined)
  620.       {
  621.          if(_loc4_[_loc9_]._targ == mtarget && (_loc7_ == props[_loc5_] || props == undefined) && (wipeFuture || _loc4_[_loc9_]._timeDest + _loc4_[_loc9_]._delay * 1000 <= getTimer()))
  622.          {
  623.             switch(_loc7_)
  624.             {
  625.                case "__special_mc_frame__":
  626.                case "__special_mc_ra__":
  627.                case "__special_mc_rb__":
  628.                case "__special_mc_ga__":
  629.                case "__special_mc_gb__":
  630.                case "__special_mc_ba__":
  631.                case "__special_mc_bb__":
  632.                case "__special_mc_aa__":
  633.                case "__special_mc_ab__":
  634.                case "__special_sound_volume__":
  635.                case "__special_bst_t__":
  636.                   delete mtarget[_loc7_];
  637.                   break;
  638.                case "__special_text_b__":
  639.                   delete mtarget.__special_text_r__;
  640.                   delete mtarget.__special_text_g__;
  641.                   delete mtarget.__special_text_b__;
  642.             }
  643.             _loc4_.splice(_loc9_,1);
  644.          }
  645.          _loc5_ = _loc5_ + 1;
  646.       }
  647.    }
  648.    if(props == undefined)
  649.    {
  650.       delete mtarget.$_tweenCount;
  651.    }
  652.    else
  653.    {
  654.       mtarget.$_tweenCount = 0;
  655.       for(_loc9_ in _loc4_)
  656.       {
  657.          if(_loc4_[_loc9_]._targ == mtarget)
  658.          {
  659.             mtarget.$_tweenCount = mtarget.$_tweenCount + 1;
  660.          }
  661.       }
  662.       if(mtarget.$_tweenCount == 0)
  663.       {
  664.          delete mtarget.$_tweenCount;
  665.       }
  666.    }
  667.    if(_loc4_.length == 0)
  668.    {
  669.       _global.$removeTweenController();
  670.    }
  671. };
  672. ASSetPropFlags(_global,"$stopTween",1,0);
  673. _global.$setFilterProperty = function(mtarget, propName, propValue, extras)
  674. {
  675.    var _loc1_ = undefined;
  676.    var _loc7_ = false;
  677.    var _loc3_ = [];
  678.    _loc1_ = 0;
  679.    while(_loc1_ < mtarget.filters.length)
  680.    {
  681.       _loc3_.push(mtarget.filters[_loc1_]);
  682.       _loc1_ = _loc1_ + 1;
  683.    }
  684.    if(propName.substr(0,5) == "blur_")
  685.    {
  686.       _loc1_ = 0;
  687.       while(_loc1_ < mtarget.filters.length)
  688.       {
  689.          if(_loc3_[_loc1_] instanceof flash.filters.BlurFilter)
  690.          {
  691.             _loc3_[_loc1_][propName.substr(5)] = propValue;
  692.             if(extras.__special_blur_quality__ != undefined)
  693.             {
  694.                _loc3_[_loc1_].quality = extras.__special_blur_quality__;
  695.             }
  696.             _loc7_ = true;
  697.             break;
  698.          }
  699.          _loc1_ = _loc1_ + 1;
  700.       }
  701.       if(!_loc7_)
  702.       {
  703.          var _loc9_ = undefined;
  704.          var _loc8_ = extras.__special_blur_quality__ != undefined ? extras.__special_blur_quality__ : 2;
  705.          if(propName == "blur_blurX")
  706.          {
  707.             _loc9_ = new flash.filters.BlurFilter(propValue,0,_loc8_);
  708.          }
  709.          if(propName == "blur_blurY")
  710.          {
  711.             _loc9_ = new flash.filters.BlurFilter(0,propValue,_loc8_);
  712.          }
  713.          _loc3_.push(_loc9_);
  714.       }
  715.    }
  716.    else if(propName.substr(0,5) == "glow_")
  717.    {
  718.       _loc1_ = 0;
  719.       while(_loc1_ < mtarget.filters.length)
  720.       {
  721.          if(_loc3_[_loc1_] instanceof flash.filters.GlowFilter)
  722.          {
  723.             _loc3_[_loc1_][propName.substr(5)] = propValue;
  724.             if(extras.__special_glow_quality__ != undefined)
  725.             {
  726.                _loc3_[_loc1_].quality = extras.__special_glow_quality__;
  727.             }
  728.             if(extras.__special_glow_inner__ != undefined)
  729.             {
  730.                _loc3_[_loc1_].inner = extras.__special_glow_inner__;
  731.             }
  732.             if(extras.__special_glow_knockout__ != undefined)
  733.             {
  734.                _loc3_[_loc1_].knockout = extras.__special_glow_knockout__;
  735.             }
  736.             _loc7_ = true;
  737.             break;
  738.          }
  739.          _loc1_ = _loc1_ + 1;
  740.       }
  741.       if(!_loc7_)
  742.       {
  743.          _loc8_ = extras.__special_glow_quality__ != undefined ? extras.__special_glow_quality__ : 2;
  744.          var _loc12_ = extras.__special_glow_inner__ != undefined ? extras.__special_glow_inner__ : false;
  745.          var _loc10_ = extras.__special_glow_knockout__ != undefined ? extras.__special_glow_knockout__ : false;
  746.          if(propName == "glow_color")
  747.          {
  748.             _loc9_ = new flash.filters.GlowFilter(propValue,1,0,0,1,_loc8_,_loc12_,_loc10_);
  749.          }
  750.          if(propName == "glow_alpha")
  751.          {
  752.             _loc9_ = new flash.filters.GlowFilter(16777215,propValue,0,0,1,_loc8_,_loc12_,_loc10_);
  753.          }
  754.          if(propName == "glow_blurX")
  755.          {
  756.             _loc9_ = new flash.filters.GlowFilter(16777215,1,propValue,0,1,_loc8_,_loc12_,_loc10_);
  757.          }
  758.          if(propName == "glow_blurY")
  759.          {
  760.             _loc9_ = new flash.filters.GlowFilter(16777215,1,0,propValue,1,_loc8_,_loc12_,_loc10_);
  761.          }
  762.          if(propName == "glow_strength")
  763.          {
  764.             _loc9_ = new flash.filters.GlowFilter(16777215,1,0,0,propValue,_loc8_,_loc12_,_loc10_);
  765.          }
  766.          _loc3_.push(_loc9_);
  767.       }
  768.    }
  769.    else
  770.    {
  771.       if(propName.substr(0,6) != "bevel_")
  772.       {
  773.          return undefined;
  774.       }
  775.       _loc1_ = 0;
  776.       while(_loc1_ < mtarget.filters.length)
  777.       {
  778.          if(_loc3_[_loc1_] instanceof flash.filters.BevelFilter)
  779.          {
  780.             _loc3_[_loc1_][propName.substr(6)] = propValue;
  781.             if(extras.__special_bevel_quality__ != undefined)
  782.             {
  783.                _loc3_[_loc1_].quality = extras.__special_bevel_quality__;
  784.             }
  785.             if(extras.__special_bevel_type__ != undefined)
  786.             {
  787.                _loc3_[_loc1_].inner = extras.__special_bevel_type__;
  788.             }
  789.             if(extras.__special_bevel_knockout__ != undefined)
  790.             {
  791.                _loc3_[_loc1_].knockout = extras.__special_bevel_knockout__;
  792.             }
  793.             _loc7_ = true;
  794.             break;
  795.          }
  796.          _loc1_ = _loc1_ + 1;
  797.       }
  798.       if(!_loc7_)
  799.       {
  800.          _loc8_ = extras.__special_bevel_quality__ != undefined ? extras.__special_bevel_quality__ : 2;
  801.          var _loc11_ = extras.__special_bevel_type__ != undefined ? extras.__special_bevel_type__ : "inner";
  802.          _loc10_ = extras.__special_bevel_knockout__ != undefined ? extras.__special_bevel_knockout__ : false;
  803.          if(propName == "bevel_distance")
  804.          {
  805.             _loc9_ = new flash.filters.BevelFilter(propValue,45,16777215,1,0,1,0,0,1,_loc8_,_loc11_,_loc10_);
  806.          }
  807.          if(propName == "bevel_angle")
  808.          {
  809.             _loc9_ = new flash.filters.BevelFilter(0,propValue,16777215,1,0,1,0,0,1,_loc8_,_loc11_,_loc10_);
  810.          }
  811.          if(propName == "bevel_highlightColor")
  812.          {
  813.             _loc9_ = new flash.filters.BevelFilter(0,45,propValue,1,0,1,0,0,1,_loc8_,_loc11_,_loc10_);
  814.          }
  815.          if(propName == "bevel_highlightAlpha")
  816.          {
  817.             _loc9_ = new flash.filters.BevelFilter(0,45,16777215,propValue,0,1,0,0,1,_loc8_,_loc11_,_loc10_);
  818.          }
  819.          if(propName == "bevel_shadowColor")
  820.          {
  821.             _loc9_ = new flash.filters.BevelFilter(0,45,16777215,1,propValue,1,0,0,1,_loc8_,_loc11_,_loc10_);
  822.          }
  823.          if(propName == "bevel_shadowAlpha")
  824.          {
  825.             _loc9_ = new flash.filters.BevelFilter(0,45,16777215,1,0,propValue,0,0,1,_loc8_,_loc11_,_loc10_);
  826.          }
  827.          if(propName == "bevel_blurX")
  828.          {
  829.             _loc9_ = new flash.filters.BevelFilter(0,45,16777215,1,0,1,propValue,0,1,_loc8_,_loc11_,_loc10_);
  830.          }
  831.          if(propName == "bevel_blurY")
  832.          {
  833.             _loc9_ = new flash.filters.BevelFilter(0,45,16777215,1,0,1,0,propValue,1,_loc8_,_loc11_,_loc10_);
  834.          }
  835.          if(propName == "bevel_strength")
  836.          {
  837.             _loc9_ = new flash.filters.BevelFilter(0,45,16777215,1,0,1,0,0,propValue,_loc8_,_loc11_,_loc10_);
  838.          }
  839.          _loc3_.push(_loc9_);
  840.       }
  841.    }
  842.    mtarget.filters = _loc3_;
  843. };
  844. MovieClip.prototype.tween = TextField.prototype.tween = Sound.prototype.tween = function(prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2)
  845. {
  846.    _global.$addTween(this,prop,propDest,timeSeconds,animType,delay,callback,extra1,extra2);
  847. };
  848. ASSetPropFlags(MovieClip.prototype,"tween",1,0);
  849. ASSetPropFlags(TextField.prototype,"tween",1,0);
  850. ASSetPropFlags(Sound.prototype,"tween",1,0);
  851. MovieClip.prototype.roundedTween = TextField.prototype.roundedTween = Sound.prototype.roundedTween = function(prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2)
  852. {
  853.    _global.$addTween(this,prop,propDest,timeSeconds,animType,delay,callback,extra1,extra2,{mustRound:true});
  854. };
  855. ASSetPropFlags(MovieClip.prototype,"roundedTween",1,0);
  856. ASSetPropFlags(TextField.prototype,"roundedTween",1,0);
  857. ASSetPropFlags(Sound.prototype,"roundedTween",1,0);
  858. MovieClip.prototype.stopTween = TextField.prototype.stopTween = Sound.prototype.stopTween = function(props)
  859. {
  860.    if(typeof props == "string")
  861.    {
  862.       props = [props];
  863.    }
  864.    if(props != undefined)
  865.    {
  866.       var _loc4_ = 1;
  867.       while(_loc4_ < arguments.length)
  868.       {
  869.          props.push(arguments[_loc4_]);
  870.          _loc4_ = _loc4_ + 1;
  871.       }
  872.    }
  873.    _global.$stopTween(this,props,true);
  874. };
  875. ASSetPropFlags(MovieClip.prototype,"stopTween",1,0);
  876. ASSetPropFlags(TextField.prototype,"stopTween",1,0);
  877. ASSetPropFlags(Sound.prototype,"stopTween",1,0);
  878. MovieClip.prototype.pauseTween = TextField.prototype.pauseTween = Sound.prototype.pauseTween = function(props)
  879. {
  880.    if(props != undefined)
  881.    {
  882.       if(typeof props == "string")
  883.       {
  884.          props = [props];
  885.       }
  886.       var _loc6_ = 1;
  887.       while(_loc6_ < Arguments.length)
  888.       {
  889.          props.push(Arguments[_loc6_]);
  890.          _loc6_ = _loc6_ + 1;
  891.       }
  892.    }
  893.    var _loc4_ = _root.__tweenController__.$_tweenPropList;
  894.    var _loc5_ = undefined;
  895.    for(var _loc7_ in _loc4_)
  896.    {
  897.       if(_loc4_[_loc7_]._targ == this && !_loc4_[_loc7_]._isPaused)
  898.       {
  899.          if(props != undefined)
  900.          {
  901.             _loc5_ = false;
  902.             for(_loc6_ in props)
  903.             {
  904.                if(props[_loc6_] == _loc4_[_loc7_]._prop)
  905.                {
  906.                   _loc5_ = true;
  907.                   break;
  908.                }
  909.             }
  910.          }
  911.          if(props == undefined || _loc5_)
  912.          {
  913.             _loc4_[_loc7_]._isPaused = true;
  914.             _loc4_[_loc7_]._timePaused = _root.__tweenController__.$_tTime;
  915.          }
  916.       }
  917.    }
  918. };
  919. ASSetPropFlags(MovieClip.prototype,"pauseTween",1,0);
  920. ASSetPropFlags(TextField.prototype,"pauseTween",1,0);
  921. ASSetPropFlags(Sound.prototype,"pauseTween",1,0);
  922. MovieClip.prototype.resumeTween = TextField.prototype.resumeTween = Sound.prototype.resumeTween = function(props)
  923. {
  924.    if(props != undefined)
  925.    {
  926.       if(typeof props == "string")
  927.       {
  928.          props = [props];
  929.       }
  930.       var _loc7_ = 1;
  931.       while(_loc7_ < Arguments.length)
  932.       {
  933.          props.push(Arguments[_loc7_]);
  934.          _loc7_ = _loc7_ + 1;
  935.       }
  936.    }
  937.    var _loc3_ = _root.__tweenController__.$_tweenPropList;
  938.    var _loc5_ = undefined;
  939.    var _loc6_ = undefined;
  940.    for(var _loc8_ in _loc3_)
  941.    {
  942.       if(_loc3_[_loc8_]._targ == this && _loc3_[_loc8_]._isPaused)
  943.       {
  944.          if(props != undefined)
  945.          {
  946.             _loc5_ = false;
  947.             for(_loc7_ in props)
  948.             {
  949.                if(props[_loc7_] == _loc3_[_loc8_]._prop)
  950.                {
  951.                   _loc5_ = true;
  952.                   break;
  953.                }
  954.             }
  955.          }
  956.          if(props == undefined || _loc5_)
  957.          {
  958.             _loc3_[_loc8_]._isPaused = false;
  959.             _loc6_ = _root.__tweenController__.$_tTime - _loc3_[_loc8_]._timePaused;
  960.             _loc3_[_loc8_]._timeStart += _loc6_;
  961.             _loc3_[_loc8_]._timeDest += _loc6_;
  962.             _loc3_[_loc8_]._timePaused = 0;
  963.          }
  964.       }
  965.    }
  966. };
  967. ASSetPropFlags(MovieClip.prototype,"resumeTween",1,0);
  968. ASSetPropFlags(TextField.prototype,"resumeTween",1,0);
  969. ASSetPropFlags(Sound.prototype,"resumeTween",1,0);
  970. MovieClip.prototype.lockTween = TextField.prototype.lockTween = Sound.prototype.lockTween = function()
  971. {
  972.    this.$_isTweenLocked = true;
  973.    ASSetPropFlags(this,"this.$_isTweenLocked",1,0);
  974. };
  975. ASSetPropFlags(MovieClip.prototype,"lockTween",1,0);
  976. ASSetPropFlags(TextField.prototype,"lockTween",1,0);
  977. ASSetPropFlags(Sound.prototype,"lockTween",1,0);
  978. MovieClip.prototype.unlockTween = TextField.prototype.unlockTween = Sound.prototype.unlockTween = function()
  979. {
  980.    delete this.$_isTweenLocked;
  981. };
  982. ASSetPropFlags(MovieClip.prototype,"unlockTween",1,0);
  983. ASSetPropFlags(TextField.prototype,"unlockTween",1,0);
  984. ASSetPropFlags(Sound.prototype,"unlockTween",1,0);
  985. MovieClip.prototype.getTweens = TextField.prototype.getTweens = Sound.prototype.getTweens = function()
  986. {
  987.    return this.$_tweenCount;
  988. };
  989. ASSetPropFlags(MovieClip.prototype,"getTweens",1,0);
  990. ASSetPropFlags(TextField.prototype,"getTweens",1,0);
  991. ASSetPropFlags(Sound.prototype,"getTweens",1,0);
  992. MovieClip.prototype.isTweening = TextField.prototype.isTweening = Sound.prototype.isTweening = function()
  993. {
  994.    return this.$_tweenCount <= 0 ? false : true;
  995. };
  996. ASSetPropFlags(MovieClip.prototype,"isTweening",1,0);
  997. ASSetPropFlags(TextField.prototype,"isTweening",1,0);
  998. ASSetPropFlags(Sound.prototype,"isTweening",1,0);
  999. MovieClip.prototype.alphaTo = TextField.prototype.alphaTo = function(propDest_a, timeSeconds, animType, delay, callback, extra1, extra2)
  1000. {
  1001.    _global.$addTween(this,"_alpha",propDest_a,timeSeconds,animType,delay,callback,extra1,extra2);
  1002. };
  1003. ASSetPropFlags(MovieClip.prototype,"alphaTo",1,0);
  1004. ASSetPropFlags(TextField.prototype,"alphaTo",1,0);
  1005. MovieClip.prototype.frameTo = function(propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2)
  1006. {
  1007.    _global.$addTween(this,"__special_mc_frame__",propDest_frame,timeSeconds,animType,delay,callback,extra1,extra2);
  1008. };
  1009. ASSetPropFlags(MovieClip.prototype,"frameTo",1,0);
  1010. MovieClip.prototype.resizeTo = TextField.prototype.resizeTo = function(propDest_width, propDest_height, timeSeconds, animType, delay, callback, extra1, extra2)
  1011. {
  1012.    _global.$addTween(this,["_width","_height"],[propDest_width,propDest_height],timeSeconds,animType,delay,callback,extra1,extra2);
  1013. };
  1014. ASSetPropFlags(MovieClip.prototype,"resizeTo",1,0);
  1015. ASSetPropFlags(TextField.prototype,"resizeTo",1,0);
  1016. MovieClip.prototype.rotateTo = TextField.prototype.rotateTo = function(propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2)
  1017. {
  1018.    _global.$addTween(this,"_rotation",propDest_rotation,timeSeconds,animType,delay,callback,extra1,extra2);
  1019. };
  1020. ASSetPropFlags(MovieClip.prototype,"rotateTo",1,0);
  1021. ASSetPropFlags(TextField.prototype,"rotateTo",1,0);
  1022. MovieClip.prototype.scaleTo = TextField.prototype.scaleTo = function(propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2)
  1023. {
  1024.    _global.$addTween(this,["_xscale","_yscale"],[propDest_scale,propDest_scale],timeSeconds,animType,delay,callback,extra1,extra2);
  1025. };
  1026. ASSetPropFlags(MovieClip.prototype,"scaleTo",1,0);
  1027. ASSetPropFlags(TextField.prototype,"scaleTo",1,0);
  1028. MovieClip.prototype.xScaleTo = TextField.prototype.xScaleTo = function(propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2)
  1029. {
  1030.    _global.$addTween(this,"_xscale",propDest_scale,timeSeconds,animType,delay,callback,extra1,extra2);
  1031. };
  1032. ASSetPropFlags(MovieClip.prototype,"xScaleTo",1,0);
  1033. ASSetPropFlags(TextField.prototype,"xScaleTo",1,0);
  1034. MovieClip.prototype.yScaleTo = TextField.prototype.yScaleTo = function(propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2)
  1035. {
  1036.    _global.$addTween(this,"_yscale",propDest_scale,timeSeconds,animType,delay,callback,extra1,extra2);
  1037. };
  1038. ASSetPropFlags(MovieClip.prototype,"yScaleTo",1,0);
  1039. ASSetPropFlags(TextField.prototype,"yScaleTo",1,0);
  1040. TextField.prototype.scrollTo = function(propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2)
  1041. {
  1042.    _global.$addTween(this,"scroll",propDest_scroll,timeSeconds,animType,delay,callback,extra1,extra2);
  1043. };
  1044. ASSetPropFlags(TextField.prototype,"scrollTo",1,0);
  1045. MovieClip.prototype.slideTo = TextField.prototype.slideTo = function(propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2)
  1046. {
  1047.    _global.$addTween(this,["_x","_y"],[propDest_x,propDest_y],timeSeconds,animType,delay,callback,extra1,extra2);
  1048. };
  1049. ASSetPropFlags(MovieClip.prototype,"slideTo",1,0);
  1050. ASSetPropFlags(TextField.prototype,"slideTo",1,0);
  1051. MovieClip.prototype.roundedSlideTo = TextField.prototype.roundedSlideTo = function(propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2)
  1052. {
  1053.    _global.$addTween(this,["_x","_y"],[propDest_x,propDest_y],timeSeconds,animType,delay,callback,extra1,extra2,{mustRound:true});
  1054. };
  1055. ASSetPropFlags(MovieClip.prototype,"roundedSlideTo",1,0);
  1056. ASSetPropFlags(TextField.prototype,"roundedSlideTo",1,0);
  1057. MovieClip.prototype.xSlideTo = TextField.prototype.xSlideTo = function(propDest_x, timeSeconds, animType, delay, callback, extra1, extra2)
  1058. {
  1059.    _global.$addTween(this,"_x",propDest_x,timeSeconds,animType,delay,callback,extra1,extra2);
  1060. };
  1061. ASSetPropFlags(MovieClip.prototype,"xSlideTo",1,0);
  1062. ASSetPropFlags(TextField.prototype,"xSlideTo",1,0);
  1063. MovieClip.prototype.roundedXSlideTo = TextField.prototype.roundedXSlideTo = function(propDest_x, timeSeconds, animType, delay, callback, extra1, extra2)
  1064. {
  1065.    _global.$addTween(this,"_x",propDest_x,timeSeconds,animType,delay,callback,extra1,extra2,{mustRound:true});
  1066. };
  1067. ASSetPropFlags(MovieClip.prototype,"roundedXSlideTo",1,0);
  1068. ASSetPropFlags(TextField.prototype,"roundedXSlideTo",1,0);
  1069. MovieClip.prototype.ySlideTo = TextField.prototype.ySlideTo = function(propDest_y, timeSeconds, animType, delay, callback, extra1, extra2)
  1070. {
  1071.    _global.$addTween(this,"_y",propDest_y,timeSeconds,animType,delay,callback,extra1,extra2);
  1072. };
  1073. ASSetPropFlags(MovieClip.prototype,"ySlideTo",1,0);
  1074. ASSetPropFlags(TextField.prototype,"ySlideTo",1,0);
  1075. MovieClip.prototype.roundedYSlideTo = TextField.prototype.roundedYSlideTo = function(propDest_y, timeSeconds, animType, delay, callback, extra1, extra2)
  1076. {
  1077.    _global.$addTween(this,"_y",propDest_y,timeSeconds,animType,delay,callback,extra1,extra2,{mustRound:true});
  1078. };
  1079. ASSetPropFlags(MovieClip.prototype,"roundedYSlideTo",1,0);
  1080. ASSetPropFlags(TextField.prototype,"roundedYSlideTo",1,0);
  1081. MovieClip.prototype.bezierSlideTo = TextField.prototype.bezierSlideTo = function(cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2)
  1082. {
  1083.    var _loc3_ = new Object();
  1084.    _loc3_.__special_bst_ix__ = undefined;
  1085.    _loc3_.__special_bst_iy__ = undefined;
  1086.    _loc3_.__special_bst_cx__ = cpoint_x;
  1087.    _loc3_.__special_bst_cy__ = cpoint_y;
  1088.    _loc3_.__special_bst_dx__ = propDest_x;
  1089.    _loc3_.__special_bst_dy__ = propDest_y;
  1090.    _global.$addTween(this,"__special_bst_t__",1,timeSeconds,animType,delay,callback,extra1,extra2,_loc3_);
  1091. };
  1092. ASSetPropFlags(MovieClip.prototype,"bezierSlideTo",1,0);
  1093. ASSetPropFlags(TextField.prototype,"bezierSlideTo",1,0);
  1094. MovieClip.prototype.roundedBezierSlideTo = TextField.prototype.roundedBezierSlideTo = function(cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2)
  1095. {
  1096.    var _loc3_ = new Object();
  1097.    _loc3_.__special_bst_ix__ = undefined;
  1098.    _loc3_.__special_bst_iy__ = undefined;
  1099.    _loc3_.__special_bst_cx__ = cpoint_x;
  1100.    _loc3_.__special_bst_cy__ = cpoint_y;
  1101.    _loc3_.__special_bst_dx__ = propDest_x;
  1102.    _loc3_.__special_bst_dy__ = propDest_y;
  1103.    _loc3_.mustRound = true;
  1104.    _global.$addTween(this,"__special_bst_t__",1,timeSeconds,animType,delay,callback,extra1,extra2,_loc3_);
  1105. };
  1106. ASSetPropFlags(MovieClip.prototype,"roundedBezierSlideTo",1,0);
  1107. ASSetPropFlags(TextField.prototype,"roundedBezierSlideTo",1,0);
  1108. Sound.prototype.volumeTo = function(propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2)
  1109. {
  1110.    _global.$addTween(this,"__special_sound_volume__",propDest_volume,timeSeconds,animType,delay,callback,extra1,extra2);
  1111. };
  1112. ASSetPropFlags(Sound.prototype,"volumeTo",1,0);
  1113. Sound.prototype.panTo = function(propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2)
  1114. {
  1115.    _global.$addTween(this,"__special_sound_pan__",propDest_volume,timeSeconds,animType,delay,callback,extra1,extra2);
  1116. };
  1117. ASSetPropFlags(Sound.prototype,"panTo",1,0);
  1118. MovieClip.prototype.colorTo = function(propDest_color, timeSeconds, animType, delay, callback, extra1, extra2)
  1119. {
  1120.    if(propDest_color == null)
  1121.    {
  1122.       this.colorTransformTo(100,0,100,0,100,0,undefined,undefined,timeSeconds,animType,delay,callback,extra1,extra2);
  1123.    }
  1124.    else
  1125.    {
  1126.       var _loc3_ = propDest_color >> 16;
  1127.       var _loc5_ = (propDest_color & 65280) >> 8;
  1128.       var _loc4_ = propDest_color & 255;
  1129.       this.colorTransformTo(0,_loc3_,0,_loc5_,0,_loc4_,undefined,undefined,timeSeconds,animType,delay,callback,extra1,extra2);
  1130.    }
  1131. };
  1132. ASSetPropFlags(MovieClip.prototype,"colorTo",1,0);
  1133. TextField.prototype.colorTo = function(propDest_color, timeSeconds, animType, delay, callback, extra1, extra2)
  1134. {
  1135.    var _loc3_ = propDest_color >> 16;
  1136.    var _loc6_ = (propDest_color & 65280) >> 8;
  1137.    var _loc4_ = propDest_color & 255;
  1138.    _global.$addTween(this,["__special_text_r__","__special_text_g__","__special_text_b__"],[_loc3_,_loc6_,_loc4_],timeSeconds,animType,delay,callback,extra1,extra2);
  1139. };
  1140. ASSetPropFlags(TextField.prototype,"colorTo",1,0);
  1141. MovieClip.prototype.colorTransformTo = function()
  1142. {
  1143.    if(typeof arguments[0] == "object" && arguments[0] != undefined)
  1144.    {
  1145.       _global.$addTween(this,["__special_mc_ra__","__special_mc_rb__","__special_mc_ga__","__special_mc_gb__","__special_mc_ba__","__special_mc_bb__","__special_mc_aa__","__special_mc_ab__"],[arguments[0].ra,arguments[0].rb,arguments[0].ga,arguments[0].gb,arguments[0].ba,arguments[0].bb,arguments[0].aa,arguments[0].ab],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]);
  1146.    }
  1147.    else
  1148.    {
  1149.       _global.$addTween(this,["__special_mc_ra__","__special_mc_rb__","__special_mc_ga__","__special_mc_gb__","__special_mc_ba__","__special_mc_bb__","__special_mc_aa__","__special_mc_ab__"],[arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7]],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],arguments[13]);
  1150.    }
  1151. };
  1152. ASSetPropFlags(MovieClip.prototype,"colorTransformTo",1,0);
  1153. MovieClip.prototype.blurTo = TextField.prototype.blurTo = function()
  1154. {
  1155.    if(typeof arguments[0] == "object" && arguments[0] != undefined)
  1156.    {
  1157.       _global.$addTween(this,["__special_blur_x__","__special_blur_y__"],[arguments[0].blurX,arguments[0].blurY],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],{__special_blur_quality__:arguments[0].quality});
  1158.    }
  1159.    else
  1160.    {
  1161.       _global.$addTween(this,["__special_blur_x__","__special_blur_y__"],[arguments[0],arguments[0]],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],{__special_blur_quality__:arguments[1]});
  1162.    }
  1163. };
  1164. ASSetPropFlags(MovieClip.prototype,"blurTo",1,0);
  1165. ASSetPropFlags(TextField.prototype,"blurTo",1,0);
  1166. MovieClip.prototype.xyBlurTo = TextField.prototype.xyBlurTo = function(propDest_blurX, propDest_blurY, quality, timeSeconds, animType, delay, callback, extra1, extra2)
  1167. {
  1168.    _global.$addTween(this,["__special_blur_x__","__special_blur_y__"],[propDest_blurX,propDest_blurY],timeSeconds,animType,delay,callback,extra1,extra2,{__special_blur_quality__:quality});
  1169. };
  1170. ASSetPropFlags(MovieClip.prototype,"xyBlurTo",1,0);
  1171. ASSetPropFlags(TextField.prototype,"xyBlurTo",1,0);
  1172. MovieClip.prototype.xBlurTo = TextField.prototype.xBlurTo = function(propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2)
  1173. {
  1174.    _global.$addTween(this,"__special_blur_x__",propDest_blur,timeSeconds,animType,delay,callback,extra1,extra2,{__special_blur_quality__:quality});
  1175. };
  1176. ASSetPropFlags(MovieClip.prototype,"xBlurTo",1,0);
  1177. ASSetPropFlags(TextField.prototype,"xBlurTo",1,0);
  1178. MovieClip.prototype.yBlurTo = TextField.prototype.yBlurTo = function(propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2)
  1179. {
  1180.    _global.$addTween(this,"__special_blur_y__",propDest_blur,timeSeconds,animType,delay,callback,extra1,extra2,{__special_blur_quality__:quality});
  1181. };
  1182. ASSetPropFlags(MovieClip.prototype,"yBlurTo",1,0);
  1183. ASSetPropFlags(TextField.prototype,"yBlurTo",1,0);
  1184. MovieClip.prototype.glowTo = TextField.prototype.glowTo = function()
  1185. {
  1186.    if(typeof arguments[0] == "object" && arguments[0] != undefined)
  1187.    {
  1188.       _global.$addTween(this,["__special_glow_color__","__special_glow_alpha__","__special_glow_blurX__","__special_glow_blurY__","__special_glow_strength__"],[arguments[0].color,arguments[0].alpha,arguments[0].blurX,arguments[0].blurY,arguments[0].strength],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],{__special_glow_quality__:arguments[0].quality,__special_glow_inner__:arguments[0].inner,__special_glow_knockout__:arguments[0].knockout});
  1189.    }
  1190.    else
  1191.    {
  1192.       _global.$addTween(this,["__special_glow_color__","__special_glow_alpha__","__special_glow_blurX__","__special_glow_blurY__","__special_glow_strength__"],[arguments[0],arguments[1],arguments[2],arguments[2],arguments[3]],arguments[7],arguments[8],arguments[9],arguments[10],arguments[11],arguments[12],{__special_glow_quality__:arguments[4],__special_glow_inner__:arguments[5],__special_glow_knockout__:arguments[6]});
  1193.    }
  1194. };
  1195. ASSetPropFlags(MovieClip.prototype,"glowTo",1,0);
  1196. ASSetPropFlags(TextField.prototype,"glowTo",1,0);
  1197. MovieClip.prototype.xyGlowTo = TextField.prototype.xyGlowTo = function(propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2)
  1198. {
  1199.    _global.$addTween(this,["__special_glow_color__","__special_glow_alpha__","__special_glow_blurX__","__special_glow_blurY__","__special_glow_strength__"],[propDest_color,propDest_alpha,propDest_blurX,propDest_blurY,propDest_strength],timeSeconds,animType,delay,callback,extra1,extra2,{__special_glow_quality__:quality,__special_glow_inner__:inner,__special_glow_knockout__:knockout});
  1200. };
  1201. ASSetPropFlags(MovieClip.prototype,"xyGlowTo",1,0);
  1202. ASSetPropFlags(TextField.prototype,"xyGlowTo",1,0);
  1203. MovieClip.prototype.xGlowTo = TextField.prototype.xGlowTo = function(propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2)
  1204. {
  1205.    _global.$addTween(this,["__special_glow_color__","__special_glow_alpha__","__special_glow_blurX__","__special_glow_strength__"],[propDest_color,propDest_alpha,propDest_blur,propDest_strength],timeSeconds,animType,delay,callback,extra1,extra2,{__special_glow_quality__:quality,__special_glow_inner__:inner,__special_glow_knockout__:knockout});
  1206. };
  1207. ASSetPropFlags(MovieClip.prototype,"xGlowTo",1,0);
  1208. ASSetPropFlags(TextField.prototype,"xGlowTo",1,0);
  1209. MovieClip.prototype.yGlowTo = TextField.prototype.yGlowTo = function(propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2)
  1210. {
  1211.    _global.$addTween(this,["__special_glow_color__","__special_glow_alpha__","__special_glow_blurY__","__special_glow_strength__"],[propDest_color,propDest_alpha,propDest_blur,propDest_strength],timeSeconds,animType,delay,callback,extra1,extra2,{__special_glow_quality__:quality,__special_glow_inner__:inner,__special_glow_knockout__:knockout});
  1212. };
  1213. ASSetPropFlags(MovieClip.prototype,"yGlowTo",1,0);
  1214. ASSetPropFlags(TextField.prototype,"yGlowTo",1,0);
  1215. MovieClip.prototype.bevelTo = TextField.prototype.bevelTo = function()
  1216. {
  1217.    if(typeof arguments[0] == "object" && arguments[0] != undefined)
  1218.    {
  1219.       _global.$addTween(this,["__special_bevel_distance__","__special_bevel_angle__","__special_bevel_highlightColor__","__special_bevel_highlightAlpha__","__special_bevel_shadowColor__","__special_bevel_shadowAlpha__","__special_bevel_blurX__","__special_bevel_blurY__","__special_bevel_strength__"],[arguments[0].distance,arguments[0].angle,arguments[0].highlightColor,arguments[0].highlightAlpha * 100,arguments[0].shadowColor,arguments[0].shadowAlpha * 100,arguments[0].blurX,arguments[0].blurY,arguments[0].strength],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],{__special_bevel_quality__:arguments[0].quality,__special_bevel_type__:arguments[0].type,__special_bevel_knockout__:arguments[0].knockout});
  1220.    }
  1221.    else
  1222.    {
  1223.       _global.$addTween(this,["__special_bevel_distance__","__special_bevel_angle__","__special_bevel_highlightColor__","__special_bevel_highlightAlpha__","__special_bevel_shadowColor__","__special_bevel_shadowAlpha__","__special_bevel_blurX__","__special_bevel_blurY__","__special_bevel_strength__"],[arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[6],arguments[7]],arguments[11],arguments[12],arguments[13],arguments[14],arguments[15],arguments[16],{__special_bevel_quality__:arguments[8],__special_bevel_type__:arguments[9],__special_bevel_knockout__:arguments[10]});
  1224.    }
  1225. };
  1226. ASSetPropFlags(MovieClip.prototype,"bevelTo",1,0);
  1227. ASSetPropFlags(TextField.prototype,"bevelTo",1,0);
  1228. MovieClip.prototype.xyBevelTo = TextField.prototype.xyBevelTo = function(propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blurX, propDest_blurY, propDest_strength, quality, type, knockout, timeSeconds, animType, delay, callback, extra1, extra2)
  1229. {
  1230.    _global.$addTween(this,["__special_bevel_distance__","__special_bevel_angle__","__special_bevel_highlightColor__","__special_bevel_highlightAlpha__","__special_bevel_shadowColor__","__special_bevel_shadowAlpha__","__special_bevel_blurX__","__special_bevel_blurY__","__special_bevel_blurY__","__special_bevel_strength__"],[propDest_distance,propDest_angle,propDest_highlightColor,propDest_highlightAlpha,propDest_shadowColor,propDest_shadowAlpha,propDest_blur,propDest_blur,propDest_strength],timeSeconds,animType,delay,callback,extra1,extra2,{__special_bevel_quality__:quality,__special_bevel_type__:type,__special_bevel_knockout__:knockout});
  1231. };
  1232. ASSetPropFlags(MovieClip.prototype,"xyBevelTo",1,0);
  1233. ASSetPropFlags(TextField.prototype,"xyBevelTo",1,0);
  1234. _global.findPointOnCurve = function(p1x, p1y, cx, cy, p2x, p2y, t)
  1235. {
  1236.    return {x:p1x + t * (2 * (1 - t) * (cx - p1x) + t * (p2x - p1x)),y:p1y + t * (2 * (1 - t) * (cy - p1y) + t * (p2y - p1y))};
  1237. };
  1238. ASSetPropFlags(_global,"findPointOnCurve",1,0);
  1239. _global.findTweenColor = function(objProp, tTime)
  1240. {
  1241.    var _loc8_ = objProp._propStart >> 16;
  1242.    var _loc4_ = objProp._propDest >> 16;
  1243.    var _loc5_ = objProp._propStart >> 8 & 255;
  1244.    var _loc6_ = objProp._propDest >> 8 & 255;
  1245.    var _loc9_ = objProp._propStart & 255;
  1246.    var _loc7_ = objProp._propDest & 255;
  1247.    var _loc12_ = Math.round(_global.findTweenValue(_loc8_,_loc4_,objProp._timeStart,tTime - objProp._delay * 1000,objProp._timeDest,objProp._animType,objProp._extra1,objProp._extra2));
  1248.    var _loc10_ = Math.round(_global.findTweenValue(_loc5_,_loc6_,objProp._timeStart,tTime - objProp._delay * 1000,objProp._timeDest,objProp._animType,objProp._extra1,objProp._extra2));
  1249.    var _loc3_ = Math.round(_global.findTweenValue(_loc9_,_loc7_,objProp._timeStart,tTime - objProp._delay * 1000,objProp._timeDest,objProp._animType,objProp._extra1,objProp._extra2));
  1250.    return (_loc12_ << 16) + (_loc10_ << 8) + _loc3_;
  1251. };
  1252. _global.findTweenValue = function(_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2)
  1253. {
  1254.    var _loc1_ = _timeNow - _timeStart;
  1255.    var _loc4_ = _propStart;
  1256.    var _loc2_ = _propDest - _propStart;
  1257.    var _loc3_ = _timeDest - _timeStart;
  1258.    var _loc6_ = _extra1;
  1259.    var _loc7_ = _extra2;
  1260.    var _loc5_ = _extra1;
  1261.    switch(_animType.toLowerCase())
  1262.    {
  1263.       case "linear":
  1264.          return _loc2_ * _loc1_ / _loc3_ + _loc4_;
  1265.       case "easeinquad":
  1266.          return _loc2_ * (_loc1_ /= _loc3_) * _loc1_ + _loc4_;
  1267.       case "easeoutquad":
  1268.          return (- _loc2_) * (_loc1_ /= _loc3_) * (_loc1_ - 2) + _loc4_;
  1269.       case "easeinoutquad":
  1270.          if((_loc1_ /= _loc3_ / 2) < 1)
  1271.          {
  1272.             return _loc2_ / 2 * _loc1_ * _loc1_ + _loc4_;
  1273.          }
  1274.          return (- _loc2_) / 2 * ((_loc1_ = _loc1_ - 1) * (_loc1_ - 2) - 1) + _loc4_;
  1275.          break;
  1276.       case "easeoutinquad":
  1277.          if(_loc1_ < _loc3_ / 2)
  1278.          {
  1279.             return findTweenValue(0,_loc2_,0,_loc1_ * 2,_loc3_,"easeOutQuad") * 0.5 + _loc4_;
  1280.          }
  1281.          return findTweenValue(0,_loc2_,0,_loc1_ * 2 - _loc3_,_loc3_,"easeInQuad") * 0.5 + _loc2_ * 0.5 + _loc4_;
  1282.          break;
  1283.       case "easeincubic":
  1284.          return _loc2_ * (_loc1_ /= _loc3_) * _loc1_ * _loc1_ + _loc4_;
  1285.       case "easeoutcubic":
  1286.          return _loc2_ * ((_loc1_ = _loc1_ / _loc3_ - 1) * _loc1_ * _loc1_ + 1) + _loc4_;
  1287.       case "easeinoutcubic":
  1288.          if((_loc1_ /= _loc3_ / 2) < 1)
  1289.          {
  1290.             return _loc2_ / 2 * _loc1_ * _loc1_ * _loc1_ + _loc4_;
  1291.          }
  1292.          return _loc2_ / 2 * ((_loc1_ -= 2) * _loc1_ * _loc1_ + 2) + _loc4_;
  1293.          break;
  1294.       case "easeoutincubic":
  1295.          if(_loc1_ < _loc3_ / 2)
  1296.          {
  1297.             return findTweenValue(0,_loc2_,0,_loc1_ * 2,_loc3_,"easeOutCubic") * 0.5 + _loc4_;
  1298.          }
  1299.          return findTweenValue(0,_loc2_,0,_loc1_ * 2 - _loc3_,_loc3_,"easeInCubic") * 0.5 + _loc2_ * 0.5 + _loc4_;
  1300.          break;
  1301.       case "easeinquart":
  1302.          return _loc2_ * (_loc1_ /= _loc3_) * _loc1_ * _loc1_ * _loc1_ + _loc4_;
  1303.       case "easeoutquart":
  1304.          return (- _loc2_) * ((_loc1_ = _loc1_ / _loc3_ - 1) * _loc1_ * _loc1_ * _loc1_ - 1) + _loc4_;
  1305.       case "easeinoutquart":
  1306.          if((_loc1_ /= _loc3_ / 2) < 1)
  1307.          {
  1308.             return _loc2_ / 2 * _loc1_ * _loc1_ * _loc1_ * _loc1_ + _loc4_;
  1309.          }
  1310.          return (- _loc2_) / 2 * ((_loc1_ -= 2) * _loc1_ * _loc1_ * _loc1_ - 2) + _loc4_;
  1311.          break;
  1312.       case "easeoutinquart":
  1313.          if(_loc1_ < _loc3_ / 2)
  1314.          {
  1315.             return findTweenValue(0,_loc2_,0,_loc1_ * 2,_loc3_,"easeOutQuart") * 0.5 + _loc4_;
  1316.          }
  1317.          return findTweenValue(0,_loc2_,0,_loc1_ * 2 - _loc3_,_loc3_,"easeInQuart") * 0.5 + _loc2_ * 0.5 + _loc4_;
  1318.          break;
  1319.       case "easeinquint":
  1320.          return _loc2_ * (_loc1_ /= _loc3_) * _loc1_ * _loc1_ * _loc1_ * _loc1_ + _loc4_;
  1321.       case "easeoutquint":
  1322.          return _loc2_ * ((_loc1_ = _loc1_ / _loc3_ - 1) * _loc1_ * _loc1_ * _loc1_ * _loc1_ + 1) + _loc4_;
  1323.       case "easeinoutquint":
  1324.          if((_loc1_ /= _loc3_ / 2) < 1)
  1325.          {
  1326.             return _loc2_ / 2 * _loc1_ * _loc1_ * _loc1_ * _loc1_ * _loc1_ + _loc4_;
  1327.          }
  1328.          return _loc2_ / 2 * ((_loc1_ -= 2) * _loc1_ * _loc1_ * _loc1_ * _loc1_ + 2) + _loc4_;
  1329.          break;
  1330.       case "easeoutinquint":
  1331.          if(_loc1_ < _loc3_ / 2)
  1332.          {
  1333.             return findTweenValue(0,_loc2_,0,_loc1_ * 2,_loc3_,"easeOutQuint") * 0.5 + _loc4_;
  1334.          }
  1335.          return findTweenValue(0,_loc2_,0,_loc1_ * 2 - _loc3_,_loc3_,"easeInQuint") * 0.5 + _loc2_ * 0.5 + _loc4_;
  1336.          break;
  1337.       case "easeinsine":
  1338.          return (- _loc2_) * Math.cos(_loc1_ / _loc3_ * 1.5707963267948966) + _loc2_ + _loc4_;
  1339.       case "easeoutsine":
  1340.          return _loc2_ * Math.sin(_loc1_ / _loc3_ * 1.5707963267948966) + _loc4_;
  1341.       case "easeinoutsine":
  1342.          return (- _loc2_) / 2 * (Math.cos(3.141592653589793 * _loc1_ / _loc3_) - 1) + _loc4_;
  1343.       case "easeoutinsine":
  1344.          if(_loc1_ < _loc3_ / 2)
  1345.          {
  1346.             return findTweenValue(0,_loc2_,0,_loc1_ * 2,_loc3_,"easeOutSine") * 0.5 + _loc4_;
  1347.          }
  1348.          return findTweenValue(0,_loc2_,0,_loc1_ * 2 - _loc3_,_loc3_,"easeInSine") * 0.5 + _loc2_ * 0.5 + _loc4_;
  1349.          break;
  1350.       case "easeinexpo":
  1351.          return _loc1_ != 0 ? _loc2_ * Math.pow(2,10 * (_loc1_ / _loc3_ - 1)) + _loc4_ : _loc4_;
  1352.       case "easeoutexpo":
  1353.          return _loc1_ != _loc3_ ? _loc2_ * (- Math.pow(2,-10 * _loc1_ / _loc3_) + 1) + _loc4_ : _loc4_ + _loc2_;
  1354.       case "easeinoutexpo":
  1355.          if(_loc1_ == 0)
  1356.          {
  1357.             return _loc4_;
  1358.          }
  1359.          if(_loc1_ == _loc3_)
  1360.          {
  1361.             return _loc4_ + _loc2_;
  1362.          }
  1363.          if((_loc1_ /= _loc3_ / 2) < 1)
  1364.          {
  1365.             return _loc2_ / 2 * Math.pow(2,10 * (_loc1_ - 1)) + _loc4_;
  1366.          }
  1367.          return _loc2_ / 2 * (- Math.pow(2,-10 * (_loc1_ = _loc1_ - 1)) + 2) + _loc4_;
  1368.          break;
  1369.       case "easeoutinexpo":
  1370.          if(_loc1_ == 0)
  1371.          {
  1372.             return _loc4_;
  1373.          }
  1374.          if(_loc1_ == _loc3_)
  1375.          {
  1376.             return _loc4_ + _loc2_;
  1377.          }
  1378.          if((_loc1_ /= _loc3_ / 2) < 1)
  1379.          {
  1380.             return _loc2_ / 2 * (- Math.pow(2,-10 * _loc1_ / 1) + 1) + _loc4_;
  1381.          }
  1382.          return _loc2_ / 2 * (Math.pow(2,10 * (_loc1_ - 2) / 1) + 1) + _loc4_;
  1383.          break;
  1384.       case "easeincirc":
  1385.          return (- _loc2_) * (Math.sqrt(1 - (_loc1_ /= _loc3_) * _loc1_) - 1) + _loc4_;
  1386.       case "easeoutcirc":
  1387.          return _loc2_ * Math.sqrt(1 - (_loc1_ = _loc1_ / _loc3_ - 1) * _loc1_) + _loc4_;
  1388.       case "easeinoutcirc":
  1389.          if((_loc1_ /= _loc3_ / 2) < 1)
  1390.          {
  1391.             return (- _loc2_) / 2 * (Math.sqrt(1 - _loc1_ * _loc1_) - 1) + _loc4_;
  1392.          }
  1393.          return _loc2_ / 2 * (Math.sqrt(1 - (_loc1_ -= 2) * _loc1_) + 1) + _loc4_;
  1394.          break;
  1395.       case "easeoutincirc":
  1396.          if(_loc1_ < _loc3_ / 2)
  1397.          {
  1398.             return findTweenValue(0,_loc2_,0,_loc1_ * 2,_loc3_,"easeOutCirc") * 0.5 + _loc4_;
  1399.          }
  1400.          return findTweenValue(0,_loc2_,0,_loc1_ * 2 - _loc3_,_loc3_,"easeInCirc") * 0.5 + _loc2_ * 0.5 + _loc4_;
  1401.          break;
  1402.       case "easeinelastic":
  1403.          if(_loc1_ == 0)
  1404.          {
  1405.             return _loc4_;
  1406.          }
  1407.          if((_loc1_ /= _loc3_) == 1)
  1408.          {
  1409.             return _loc4_ + _loc2_;
  1410.          }
  1411.          if(!_loc7_)
  1412.          {
  1413.             _loc7_ = _loc3_ * 0.3;
  1414.          }
  1415.          if(!_loc6_ || _loc6_ < Math.abs(_loc2_))
  1416.          {
  1417.             _loc6_ = _loc2_;
  1418.             _loc5_ = _loc7_ / 4;
  1419.          }
  1420.          else
  1421.          {
  1422.             _loc5_ = _loc7_ / 6.283185307179586 * Math.asin(_loc2_ / _loc6_);
  1423.          }
  1424.          return - _loc6_ * Math.pow(2,10 * (_loc1_ -= 1)) * Math.sin((_loc1_ * _loc3_ - _loc5_) * 6.283185307179586 / _loc7_) + _loc4_;
  1425.          break;
  1426.       case "easeoutelastic":
  1427.          if(_loc1_ == 0)
  1428.          {
  1429.             return _loc4_;
  1430.          }
  1431.          if((_loc1_ /= _loc3_) == 1)
  1432.          {
  1433.             return _loc4_ + _loc2_;
  1434.          }
  1435.          if(!_loc7_)
  1436.          {
  1437.             _loc7_ = _loc3_ * 0.3;
  1438.          }
  1439.          if(!_loc6_ || _loc6_ < Math.abs(_loc2_))
  1440.          {
  1441.             _loc6_ = _loc2_;
  1442.             _loc5_ = _loc7_ / 4;
  1443.          }
  1444.          else
  1445.          {
  1446.             _loc5_ = _loc7_ / 6.283185307179586 * Math.asin(_loc2_ / _loc6_);
  1447.          }
  1448.          return _loc6_ * Math.pow(2,-10 * _loc1_) * Math.sin((_loc1_ * _loc3_ - _loc5_) * 6.283185307179586 / _loc7_) + _loc2_ + _loc4_;
  1449.          break;
  1450.       case "easeinoutelastic":
  1451.          if(_loc1_ == 0)
  1452.          {
  1453.             return _loc4_;
  1454.          }
  1455.          if((_loc1_ /= _loc3_ / 2) == 2)
  1456.          {
  1457.             return _loc4_ + _loc2_;
  1458.          }
  1459.          if(!_loc7_)
  1460.          {
  1461.             _loc7_ = _loc3_ * 0.44999999999999996;
  1462.          }
  1463.          if(!_loc6_ || _loc6_ < Math.abs(_loc2_))
  1464.          {
  1465.             _loc6_ = _loc2_;
  1466.             _loc5_ = _loc7_ / 4;
  1467.          }
  1468.          else
  1469.          {
  1470.             _loc5_ = _loc7_ / 6.283185307179586 * Math.asin(_loc2_ / _loc6_);
  1471.          }
  1472.          if(_loc1_ < 1)
  1473.          {
  1474.             return -0.5 * (_loc6_ * Math.pow(2,10 * (_loc1_ -= 1)) * Math.sin((_loc1_ * _loc3_ - _loc5_) * 6.283185307179586 / _loc7_)) + _loc4_;
  1475.          }
  1476.          return _loc6_ * Math.pow(2,-10 * (_loc1_ -= 1)) * Math.sin((_loc1_ * _loc3_ - _loc5_) * 6.283185307179586 / _loc7_) * 0.5 + _loc2_ + _loc4_;
  1477.          break;
  1478.       case "easeoutinelastic":
  1479.          if(_loc1_ < _loc3_ / 2)
  1480.          {
  1481.             return findTweenValue(0,_loc2_,0,_loc1_ * 2,_loc3_,"easeOutElastic") * 0.5 + _loc4_;
  1482.          }
  1483.          return findTweenValue(0,_loc2_,0,_loc1_ * 2 - _loc3_,_loc3_,"easeInElastic") * 0.5 + _loc2_ * 0.5 + _loc4_;
  1484.          break;
  1485.       case "easeinback":
  1486.          if(_loc5_ == undefined)
  1487.          {
  1488.             _loc5_ = 1.70158;
  1489.          }
  1490.          return _loc2_ * (_loc1_ /= _loc3_) * _loc1_ * ((_loc5_ + 1) * _loc1_ - _loc5_) + _loc4_;
  1491.       case "easeoutback":
  1492.          if(_loc5_ == undefined)
  1493.          {
  1494.             _loc5_ = 1.70158;
  1495.          }
  1496.          return _loc2_ * ((_loc1_ = _loc1_ / _loc3_ - 1) * _loc1_ * ((_loc5_ + 1) * _loc1_ + _loc5_) + 1) + _loc4_;
  1497.       case "easeinoutback":
  1498.          if(_loc5_ == undefined)
  1499.          {
  1500.             _loc5_ = 1.70158;
  1501.          }
  1502.          if((_loc1_ /= _loc3_ / 2) < 1)
  1503.          {
  1504.             return _loc2_ / 2 * (_loc1_ * _loc1_ * (((_loc5_ *= 1.525) + 1) * _loc1_ - _loc5_)) + _loc4_;
  1505.          }
  1506.          return _loc2_ / 2 * ((_loc1_ -= 2) * _loc1_ * (((_loc5_ *= 1.525) + 1) * _loc1_ + _loc5_) + 2) + _loc4_;
  1507.          break;
  1508.       case "easeoutinback":
  1509.          if(_loc1_ < _loc3_ / 2)
  1510.          {
  1511.             return findTweenValue(0,_loc2_,0,_loc1_ * 2,_loc3_,"easeOutBack") * 0.5 + _loc4_;
  1512.          }
  1513.          return findTweenValue(0,_loc2_,0,_loc1_ * 2 - _loc3_,_loc3_,"easeInBack") * 0.5 + _loc2_ * 0.5 + _loc4_;
  1514.          break;
  1515.       case "easeinbounce":
  1516.          return _loc2_ - findTweenValue(0,_loc2_,0,_loc3_ - _loc1_,_loc3_,"easeOutBounce") + _loc4_;
  1517.       case "easeoutbounce":
  1518.          if((_loc1_ /= _loc3_) < 0.36363636363636365)
  1519.          {
  1520.             return _loc2_ * (7.5625 * _loc1_ * _loc1_) + _loc4_;
  1521.          }
  1522.          if(_loc1_ < 0.7272727272727273)
  1523.          {
  1524.             return _loc2_ * (7.5625 * (_loc1_ -= 0.5454545454545454) * _loc1_ + 0.75) + _loc4_;
  1525.          }
  1526.          if(_loc1_ < 0.9090909090909091)
  1527.          {
  1528.             return _loc2_ * (7.5625 * (_loc1_ -= 0.8181818181818182) * _loc1_ + 0.9375) + _loc4_;
  1529.          }
  1530.          return _loc2_ * (7.5625 * (_loc1_ -= 0.9545454545454546) * _loc1_ + 0.984375) + _loc4_;
  1531.          break;
  1532.       case "easeinoutbounce":
  1533.          if(_loc1_ < _loc3_ / 2)
  1534.          {
  1535.             return findTweenValue(0,_loc2_,0,_loc1_ * 2,_loc3_,"easeInBounce") * 0.5 + _loc4_;
  1536.          }
  1537.          return findTweenValue(0,_loc2_,0,_loc1_ * 2 - _loc3_,_loc3_,"easeOutBounce") * 0.5 + _loc2_ * 0.5 + _loc4_;
  1538.          break;
  1539.       case "easeoutinbounce":
  1540.          if(_loc1_ < _loc3_ / 2)
  1541.          {
  1542.             return findTweenValue(0,_loc2_,0,_loc1_ * 2,_loc3_,"easeOutBounce") * 0.5 + _loc4_;
  1543.          }
  1544.          return findTweenValue(0,_loc2_,0,_loc1_ * 2 - _loc3_,_loc3_,"easeInBounce") * 0.5 + _loc2_ * 0.5 + _loc4_;
  1545.          break;
  1546.       default:
  1547.          trace("MC TWEEN ### Error on transition: there\'s no \"" + _animType + "\" animation type.");
  1548.          return 0;
  1549.    }
  1550. };
  1551. ASSetPropFlags(_global,"findTweenValue",1,0);
  1552.